package com.design.patterns.interceptingFilter;

/**
 * @Author: jinxuan
 * @Date: 2021/3/3 14:29
 */
public class BusinessFilter implements Filter {
    @Override
    public void execute(String request) {
        if (request=="HOME"){
            System.out.println("Not allowed to use: " + request + "Keyword");
        }else{
            System.out.println("Business: " + request);
        }
    }
}
